home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000199_news@watsun.cc.columbia.edu _Tue Feb 9 15:23:39 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA23604
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 9 Feb 1999 15:23:38 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA24002
for kermit.misc@watsun.cc.columbia.edu; Tue, 9 Feb 1999 15:23:09 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: Need Help Using Kermit as a non-root user
Date: 9 Feb 1999 20:23:07 GMT
Organization: Columbia University
Message-ID: <79q5fb$ndt$1@newsmaster.cc.columbia.edu>
To: kermit.misc@mailrelay2.cc.columbia.edu
In article <79q2oq$1m0$1@ux2.accesscom.net>,
Gregory I. Hayes <gihayes@bellsouth.net> wrote:
: I am using aix 4.1.5.0. and C-Kermit 6.0.192. I have a C-Kermit script
: called /usr/local/call-medb that dials out and transfers data to a remote
: location and then recieves a response file. When it is run by root, it works
: fine. The device that is being used for dial out is /dev/tty2. The problem I
: am having is that tty2 is owned and in the group uucp. Whenever I try to run
: the script with this setting not as root, I get the following error:
:
: Command file: /usr/local/call-medb, line 7
: /dev/tty2: Permission denied
: Sorry, access to device denied: /dev/tty2
:
Please read the C-Kermit installation instructions. You can find them in
the UNIX appendix of "Using C-Kermit":
http://www.columbia.edu/kermit/ck60manual.html
or in the ckuins.doc file. Briefly, most UNIX installations protect the
dialout devices from users, so any program that access them needs to have
the appropriate owner and/or group IDs (and suid and/or sgid bits) to grant
read/write access to the device, and write access to the lockfile directory.
This is true not just of Kermit, but also uucp, tip, cu, minicom, or any other
program that needs to use a serial device. Do:
ls -l /usr/bin/cu
and then give the Kermit program (not the script) the same group and owner
and permissions as cu.
- Frank